package com.jinmdz.app.dao.model.service;

import com.jinmdz.app.dao.annotation.MyColumn;
import com.jinmdz.app.dao.annotation.MyTable;
import com.jinmdz.fmis.core.base.BaseBean;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 服务项目表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "ServiceItemEntity", name = "service_item", comment = "服务项目表")
public class ServiceItemView extends BaseBean {
    /**
     * 主键
     */
    @MyColumn(name = "id", value = "主键", required = true)
    private Integer id;

    /**
     * 删除标记
     */
    @MyColumn(name = "deleted", value = "删除标记")
    private Integer deleted;

    /**
     * 殡仪馆代码
     */
    @MyColumn(value = "funeralParlourCode", name = "funeral_parlour_code", comment = "殡仪馆代码", required = true)
    private String funeralParlourCode;


    /**
     * 创建用户外键
     */
    @MyColumn(name = "createUserId", value = "创建用户外键", required = true)
    private Integer createUserId;

    /**
     * 创建时间
     */
    @MyColumn(name = "gmtCreate", value = "创建时间")
    private Date gmtCreate;

    /**
     * 不可修改
     */
    @MyColumn(name = "unmodified", value = "不可修改")
    private Integer unmodified;

    /**
     * 修改用户外键
     */
    @MyColumn(name = "modifiedUserId", value = "修改用户外键", required = true)
    private Integer modifiedUserId;

    /**
     * 修改时间
     */
    @MyColumn(name = "gmtModified", value = "修改时间")
    private Date gmtModified;

    /**
     * 数据版本号
     */
    @MyColumn(name = "version", value = "数据版本号")
    private Long version;
    /**
     * 服务分类外键
     */
    @MyColumn(value = "serviceTypeId", name = "service_type_id", comment = "服务分类外键", required = true)
    private Integer serviceTypeId;

    /**
     * 项目编码
     */
    @MyColumn(value = "itemCode", name = "item_code", comment = "项目编码", required = true)
    private String itemCode;

    /**
     * 项目名称
     */
    @MyColumn(value = "itemName", name = "item_name", comment = "项目名称", required = true)
    private String itemName;

    /**
     * 项目名称拼音缩写
     */
    @MyColumn(value = "itemNameAbbr", name = "item_name_abbr", comment = "项目名称拼音缩写")
    private String itemNameAbbr;

    /**
     * 项目价格
     */
    @MyColumn(value = "itemPrice", name = "item_price", comment = "项目价格", required = true)
    private BigDecimal itemPrice;

    /**
     * 项目数量
     */
    @MyColumn(value = "itemNumber", name = "item_number", comment = "项目数量", required = true)
    private BigDecimal itemNumber;

    /**
     * 项目单位
     */
    @MyColumn(value = "itemUnit", name = "item_unit", comment = "项目单位")
    private String itemUnit;

    /**
     * 项目描述
     */
    @MyColumn(value = "itemDescribe", name = "item_describe", comment = "项目描述")
    private String itemDescribe;

    /**
     * 是否物品
     */
    @MyColumn(value = "asGoods", name = "as_goods", comment = "是否物品", required = true)
    private Integer asGoods;

    /**
     * 是否项目包
     */
    @MyColumn(value = "asPackage", name = "as_package", comment = "是否项目包", required = true)
    private Integer asPackage;

    /**
     * 是否固定价格
     */
    @MyColumn(value = "asFixPrice", name = "as_fix_price", comment = "是否固定价格", required = true)
    private Integer asFixPrice;

    /**
     * 销售状态
     */
    @MyColumn(value = "disableState", name = "disable_state", comment = "销售状态", required = true)
    private Integer disableState;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public String getFuneralParlourCode() {
        return funeralParlourCode;
    }

    public void setFuneralParlourCode(String funeralParlourCode) {
        this.funeralParlourCode = funeralParlourCode;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Integer getUnmodified() {
        return unmodified;
    }

    public void setUnmodified(Integer unmodified) {
        this.unmodified = unmodified;
    }

    public Integer getModifiedUserId() {
        return modifiedUserId;
    }

    public void setModifiedUserId(Integer modifiedUserId) {
        this.modifiedUserId = modifiedUserId;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Integer getServiceTypeId() {
        return serviceTypeId;
    }

    public void setServiceTypeId(Integer serviceTypeId) {
        this.serviceTypeId = serviceTypeId;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemNameAbbr() {
        return itemNameAbbr;
    }

    public void setItemNameAbbr(String itemNameAbbr) {
        this.itemNameAbbr = itemNameAbbr;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
    }

    public BigDecimal getItemNumber() {
        return itemNumber;
    }

    public void setItemNumber(BigDecimal itemNumber) {
        this.itemNumber = itemNumber;
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public void setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit;
    }

    public String getItemDescribe() {
        return itemDescribe;
    }

    public void setItemDescribe(String itemDescribe) {
        this.itemDescribe = itemDescribe;
    }

    public Integer getAsGoods() {
        return asGoods;
    }

    public void setAsGoods(Integer asGoods) {
        this.asGoods = asGoods;
    }

    public Integer getAsPackage() {
        return asPackage;
    }

    public void setAsPackage(Integer asPackage) {
        this.asPackage = asPackage;
    }

    public Integer getAsFixPrice() {
        return asFixPrice;
    }

    public void setAsFixPrice(Integer asFixPrice) {
        this.asFixPrice = asFixPrice;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public void setDisableState(Integer disableState) {
        this.disableState = disableState;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}